package com.light.gulimall.product.vo;

import lombok.Data;

/**
 * 给order模块远程调用，根据skuid查询出对应的spu信息
 */
public class SpuInfoVO {

    /**
     * spu_id
     */
    private Long spuId;
    /**
     * spu_name
     */
    private String spuName;
    /**
     * spu_pic
     */
    private String spuPic;
    /**
     * 品牌
     */
    private String spuBrand;
    /**
     * 商品分类id
     */
    private Long categoryId;


    public SpuInfoVO() {
    }

    public SpuInfoVO(Long spuId, String spuName, String spuPic, String spuBrand, Long categoryId) {
        this.spuId = spuId;
        this.spuName = spuName;
        this.spuPic = spuPic;
        this.spuBrand = spuBrand;
        this.categoryId = categoryId;
    }

    /**
     * 获取
     * @return spuId
     */
    public Long getSpuId() {
        return spuId;
    }

    /**
     * 设置
     * @param spuId
     */
    public void setSpuId(Long spuId) {
        this.spuId = spuId;
    }

    /**
     * 获取
     * @return spuName
     */
    public String getSpuName() {
        return spuName;
    }

    /**
     * 设置
     * @param spuName
     */
    public void setSpuName(String spuName) {
        this.spuName = spuName;
    }

    /**
     * 获取
     * @return spuPic
     */
    public String getSpuPic() {
        return spuPic;
    }

    /**
     * 设置
     * @param spuPic
     */
    public void setSpuPic(String spuPic) {
        this.spuPic = spuPic;
    }

    /**
     * 获取
     * @return spuBrand
     */
    public String getSpuBrand() {
        return spuBrand;
    }

    /**
     * 设置
     * @param spuBrand
     */
    public void setSpuBrand(String spuBrand) {
        this.spuBrand = spuBrand;
    }

    /**
     * 获取
     * @return categoryId
     */
    public Long getCategoryId() {
        return categoryId;
    }

    /**
     * 设置
     * @param categoryId
     */
    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String toString() {
        return "SpuInfoVO{spuId = " + spuId + ", spuName = " + spuName + ", spuPic = " + spuPic + ", spuBrand = " + spuBrand + ", categoryId = " + categoryId + "}";
    }
}
